package joonany.basic;

public class J01_FoodNara {

	public static void main(String[] args) {
		
		String title, line;
		int soju, soju2, chiken;
		int tot, vat, notIncVatTot;
		int getMoney, giveMoney;
				
		title = "[ 음식나라 ]";
		soju = 3000;
		soju2 = soju * 2;
		chiken = 12000;
		getMoney = 50000;
		tot = soju2 + chiken;
		vat = tot / 10;
		notIncVatTot = tot - vat;
		giveMoney = getMoney - notIncVatTot;
		line = "---------------------";
		
		System.out.println(title);
		System.out.println(line);
		System.out.println("소주\t2\t" + soju2);
		System.out.println("너나치킨\t1\t" + chiken);
		System.out.println(line);
		System.out.println("과세합계\t\t" + notIncVatTot);
		System.out.println("부가세\t\t" + vat);
		System.out.println(line);
		System.out.println("총합계\t\t" + tot);
		System.out.println("받은금액\t\t" + getMoney);
		System.out.println("잔돈\t\t" + giveMoney);
		System.out.println(line);
		System.out.println("2014. 07. 07 14:35:24");
		
		
		
	}

}
